package com.kedi.evergreenschoolcenter.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.kedi.evergreenschoolcenter.service.OnlineclassService;


/**
 * 
* @Description: 常青学苑控制层
* @author: clx
* @date: 2019 2019年7月8日 下午2:00:59
 */
@RestController
public class OnlineclassController {
    
    @Autowired
    OnlineclassService Service;
   
    @RequestMapping(value = "/updatepraisenum", method = RequestMethod.POST)
    public int updatepraisenum(int id) {
		return Service.updatepraisenum(id);
    }
    
    @RequestMapping(value = "/updatecollectnum", method = RequestMethod.POST)
    public int updatecollectnum(int id) {
    	return Service.updatecollectnum(id);
    }
   
}
